import React from 'react'
import ReactDOM from 'react-dom/client'
//! 正确的样式引入顺序
//! 样式初始化一般放在最前面

import "reset-css"
//! UI框架的样式

//!全局样式
import "@/assets/styles/global.scss"
//!组件的样式

import App from './App'

//?import Router from "./router"

import {BrowserRouter as Router} from "react-router-dom"

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <React.StrictMode>
    {/* <Router /> */}
    <Router>
      <App/>
    </Router>
  </React.StrictMode>,
)
